package com.memory.dto;


import com.memory.daomain.Dish;
import com.memory.daomain.DishFlavor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 映射提交的菜品和菜品口味
 */
@Data
public class DishDto extends Dish {
    //菜品口味
    private List<DishFlavor> flavors = new ArrayList<>();
    //菜品名
    private String categoryName;
    //菜品份数
    private Integer copies;
}
